package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.FrontuserDao;
import com.bootdo.system.domain.FrontuserDO;
import com.bootdo.system.service.FrontuserService;



@Service
public class FrontuserServiceImpl implements FrontuserService {
	@Autowired
	private FrontuserDao frontuserDao;

	
	@Override
	public FrontuserDO get(Long userid){
		return frontuserDao.get(userid);
	}
	
	@Override
	public List<FrontuserDO> list(Map<String, Object> map){
		return frontuserDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return frontuserDao.count(map);
	}
	
	@Override
	public int save(FrontuserDO frontuser){
		return frontuserDao.save(frontuser);
	}
	
	@Override
	public int update(FrontuserDO frontuser){
		return frontuserDao.update(frontuser);
	}
	
	@Override
	public int remove(Long userid){
		return frontuserDao.remove(userid);
	}
	
	@Override
	public int batchRemove(Long[] userids){
		return frontuserDao.batchRemove(userids);
	}

    @Override
    public void updateTimejian1() {
		frontuserDao.updateTimejian1();
    }



}
